# -*-coding:utf-8-*-
"""
@project: python-project
@Time: 2024-07-13 10:00
@Author: Loneliness_Burial
@File: 查看表结构.py
@Motto: 深情不改必坠死海
@software: pycharm
@version: python 3.7
"""

import sqlite3

conn = sqlite3.connect('D:\Desktop\LCConfigDataBase')
cursor = conn.cursor()
cursor.execute('PRAGMA TABLE_INFO(login) ')
result = cursor.fetchall()
print(result)
cursor.close()
conn.commit()
conn.close()